package com.example.weather_plus.bmob;

import android.app.Application;

public class BmobApp extends Application {

    private String current_user_id;     // 当前登录用户id
    private String current_diary_id;    // 当前选择笔记id

    public String getCurrent_diary_id() {
        return current_diary_id;
    }

    public void setCurrent_diary_id(String current_diary_id) {
        this.current_diary_id = current_diary_id;
    }

    public String getCurrent_user_id() {
        return current_user_id;
    }

    public void setCurrent_user_id(String current_user_id) {
        this.current_user_id = current_user_id;
    }

    @Override
    public void onCreate() {
        super.onCreate();
//        Bmob.initialize(this, "你的application id");

        // 当前登录的用户id
        current_user_id = null;
    }
}